package com.xjgc.eip.twice.zxjEip2cbhwdzs.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.xjgc.eip.twice.zxjEip2cbhwdzs.service.ZxjEip2cBhwdzsService;

import io.swagger.annotations.Api;

/**
 * <p>
 *  波峰焊回流焊温度追溯抓取接口
 * </p>
 *
 * @author XXX
 * @since 2019-12-06
 */
@Api("波峰焊回流焊温度追溯抓取接口")
@RestController
@RequestMapping("/apis/zxjEip2cbhwdzs")
public class ZxjEip2cBhwdzsController {
    @Autowired
    ZxjEip2cBhwdzsService zxjEip2cBhwdzsService;
    /**
     * 波峰焊回流焊温度追溯抓取接口
     */
//    @ApiOperation("波峰焊回流焊温度追溯抓取接口")
//    @ApiImplicitParams({
//            @ApiImplicitParam(paramType = "query", name = "amount", value = "查询条数",
//                    required = true, dataType = "int"),
//            @ApiImplicitParam(paramType = "query", name = "supplierCode", value = "供应商编码",
//                    required = true, dataType = "String")
//    })
//    @GetMapping(value = "/getData")
//    @ResponseBody
//    public ReturnResult getData(Integer amount,@RequestHeader(name = "supplierCode",required = false)String supplierCode) {
//        ReturnResult returnResult = new ReturnResult();
//        try {
//                List<Map<String, Object>> result = zxjEip2cBhwdzsService.getBhwdzsData(amount,supplierCode);
//                    returnResult.setStatus(Integer.valueOf(ReturnStatus.OK.getCode()));
//                    returnResult.setMessage("请求成功");
//                    returnResult.setData(result);
//        } catch (Exception e) {
//            returnResult.setStatus(Integer.valueOf(ReturnStatus.FAIL.getCode()));
//            returnResult.setMessage("请求异常");
//        }
//        return returnResult;
//    }
}

